package work.timejay.shop;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @className:TimeJayShopApplication.java
 * @author:王文杰
 * @version:1.0.0
 * @description:商品微服务启动类
 * @createTime 2021年12月18日 17:15:00
 */
@SpringBootApplication
//erueka注册中心地址
//@EnableEurekaClient
//开启feign调用
//@EnableFeignClients
@MapperScan(basePackages = {"work.timejay.shop.mapper"})
@ComponentScan(basePackages = {"work.timejay"})
public class TimeJayShopApplication {
    public static void main(String[] args) {
        SpringApplication.run(TimeJayShopApplication.class,args);
    }
}
